<?php
    $this->assign('title','Categoria::Exibindo');
    $this->assign('page_local','Categoria');
    $this->assign('page_now','Exibindo Registro');
    $this->assign('panel_title','Exibindo Categoria');
    $this->start('content_form');
?>
<div class="panel-body">
    <div class="row mb20">
        <div class="col-sm-6">
            <div class="form-group">
                <label class="control-label">Grupo:</label>
                <div class="form-control-feedback"><?php echo $this->Html->link($expense['ExpenseGroup']['name'], array('controller' => 'expense_groups', 'action' => 'view', $expense['ExpenseGroup']['id'])); ?></div>
            </div>
        </div>
        <div class="col-sm-6">
            <div class="form-group">
                <label class="control-label">Nome da categoria:</label>
                <div class="control-group">
                    <div class="form-control-feedback"><?php echo h($expense['Expense']['name']); ?></div>
                </div>
            </div>
        </div>
    </div>
    <div class="panel-footer">
        <?php echo $this->Html->link('<span class="glyphicon glyphicon-arrow-left"></span> Voltar',array('controller'=>$this->params['controller'],'action'=>'/'),array('class'=>'btn btn-default','escape'=>false)) ?>
        <?php echo $this->Html->link('<span class="glyphicon glyphicon-pencil"></span> Editar',array('controller'=>$this->params['controller'],'action'=>'edit',$expense['Expense']['id']),array('class'=>'btn btn-primary','escape'=>false)) ?>
        <?php echo $this->Html->link('<span class="glyphicon glyphicon-file"></span> Novo',array('controller'=>$this->params['controller'],'action'=>'add'),array('class'=>'btn btn-success','escape'=>false)) ?>
        <?php echo $this->Form->postLink('<span class="glyphicon glyphicon-trash"></span> Excluir', array('action' => 'delete', $expense['Expense']['id']), array('escape'=>false,"title"=>"","data-original-title"=>"Deletar Registro","data-placement"=>"top","data-toggle"=>"tooltip","class"=>"tooltips btn btn-link"), __('Deseja realmente excluir o registro # %s?', $expense['Expense']['name'])); ?>
    </div>
    <?php
        $this->end();